function getCommand(r) {
    var result = new Array();
    for (var i in r.functions) {
        result.push({
            name: r.functions[i].name,
            type: r.functions[i].sourceScript ? "Function" : "Cmdlet",
            $type: "FunctionInfo"
        });
    }
    return result;
}
function getRandom(r, p) {
    if (p.max === undefined)
        p.max = 1;
    if (p.min === undefined)
        p.min = 0;
    return Math.random() * (p.max - p.min) + p.min;
}
function getDate() {
    return new Date(Date.now());
}
//# sourceMappingURL=base-commands.js.map
